#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:


    //1正常显示图片路径  2按下后切换图片路径
    MyPushButton(QString normalImg,QString pressImg="");
    QString normalPath;
    QString pressPath;

    //向上跳跃
    void zoom1();
    //向下跳跃
    void zoom2();

    //按下鼠标
    void mousePressEvent(QMouseEvent *e);
    //释放鼠标
    void mouseReleaseEvent(QMouseEvent *e);

signals:

};

#endif // MYPUSHBUTTON_H
